﻿Imports StartFrame.Web.BR.Helpers
Imports StartFrame.Web.Handlers

Public Class GLPBaseHandler
    Inherits baseHandler

    Public Sub ObtenerGrupoOperador()
        Try
            _Context.Response.Write(String.Format("{{ success: true, grupoOperador: '{0}' }} ",
                                                  Common.GrupoOperador.ID))
        Catch ex As Exception
            _Context.Response.Write(New ResultSet() With {.success = False, .message = ex.Message}.ToJsonString())
        End Try
    End Sub

    Public Sub ObtenerEntidadOperador()
        _Context.Response.ContentType = "text/plain"
        _Context.Response.Write(Common.EntidadOperador.ID)
    End Sub
End Class
